import { RouteRecordRaw } from 'vue-router';

const routes: Array<RouteRecordRaw> = [
  {
    path: '/coc',
    name: 'coc',
    component: () => import('@/views/PageHome/pageHomeCoc.vue'),
    children: [
      {
        path: '/coc/draw',
        name: 'cocDraw',
        component: () => import('@/views/Coc/cocDraw.vue'),
      },
      {
        path: '/coc/score',
        name: 'cocScore',
        component: () => import('@/views/Coc/cocScore.vue'),
      },
    ],
  },
];

export default routes;
